<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>StreamVision 视频平台</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Arial', sans-serif;
        }

        body {
            background-color: #0f0f0f;
            color: white;
        }

        /* 导航栏样式 */
        nav {
            background-color: #000;
            padding: 1rem 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            color: #ff0000;
            font-size: 2rem;
            font-weight: bold;
        }

        .nav-links a {
            color: white;
            text-decoration: none;
            margin-left: 2rem;
        }

        /* 搜索框样式 */
        .search-box {
            display: flex;
            align-items: center;
        }

        .search-box input {
            padding: 0.5rem;
            border-radius: 20px 0 0 20px;
            border: none;
            width: 250px;
        }

        .search-box button {
            padding: 0.5rem 1rem;
            background-color: #ff0000;
            border: none;
            border-radius: 0 20px 20px 0;
            color: white;
            cursor: pointer;
        }

        /* 主要内容区域 */
        main {
            padding: 2rem 5%;
        }

        /* 推荐视频区域 */
        .hero-section {
            margin-bottom: 3rem;
        }

        .hero-video {
            width: 100%;
            height: 500px;
            background-color: #222;
            border-radius: 10px;
            position: relative;
        }

        /* 视频分类区域 */
        .video-category {
            margin-bottom: 2rem;
        }

        .category-title {
            margin-bottom: 1rem;
            font-size: 1.5rem;
        }

        .video-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1.5rem;
        }

        .video-card {
            background-color: #222;
            border-radius: 8px;
            overflow: hidden;
            transition: transform 0.3s ease;
        }

        .video-card:hover {
            transform: translateY(-5px);
        }

        .thumbnail {
            width: 100%;
            height: 150px;
            background-color: #333;
            object-fit: cover;
        }

        .video-info {
            padding: 1rem;
        }

        .video-title {
            margin-bottom: 0.5rem;
            font-weight: bold;
        }

        .video-duration {
            color: #888;
            font-size: 0.9rem;
        }

        footer {
            background-color: #000;
            text-align: center;
            padding: 2rem;
            margin-top: 3rem;
        }


        /* 新增登录按钮样式 */
            .login-btn {
            background-color: #ff0000;
            padding: 0.5rem 1.5rem;
            border-radius: 20px;
            margin-left: 2rem;
            transition: opacity 0.3s;
        }

        .login-btn:hover {
            opacity: 0.8;
        }

        /* 登录页面样式 */
        .login-container {
            max-width: 400px;
            margin: 5rem auto;
            padding: 2rem;
            background-color: #222;
            border-radius: 10px;
        }

        .login-form {
            display: flex;
            flex-direction: column;
        }

        .form-title {
            text-align: center;
            margin-bottom: 2rem;
        }

        .form-input {
            padding: 0.8rem;
            margin-bottom: 1.5rem;
            border-radius: 5px;
            border: none;
            background-color: #333;
            color: white;
        }

        .form-submit {
            background-color: #ff0000;
            color: white;
            padding: 1rem;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1rem;
        }

        .register-link {
            text-align: center;
            margin-top: 1.5rem;
        }

        .register-link a {
            color: #ff0000;
            text-decoration: none;
        }

    </style>
</head>
<body>
    <nav>
        <div class="logo">StreamVision</div>
        <div class="nav-links">
            <a href="index.html">首页</a>
            <a href="NotFound.html">电影</a>
            <a href="login.html" class="login-btn">登录</a>
        </div>
    </nav>

    <main>
        <section class="hero-section">
            <div class="hero-video">
                <!-- 这里可以放置视频播放器 -->
                <div style="padding: 2rem; color: #666">
                    推荐视频展示区
                </div>
            </div>
        </section>

        <section class="video-category">
            <h2 class="category-title">热门电影</h2>
            <div class="video-grid">
                
                <!-- 更多视频卡片... -->
            </div>
        </section>

        <section class="video-category">
            <h2 class="category-title">最新剧集</h2>
            <div class="video-grid">
                <!-- 重复的视频卡片结构 -->
            </div>
        </section>
    </main>

    <footer>
        <p>&copy; 2025 StreamVision. All rights reserved.</p>
    </footer>
</body>
</html>